package com.dwd.org.query;

import com.dwd.basic.query.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/1/5 14:09
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("高级查询条件")
public class DepartmentQuery extends BaseQuery {
    @ApiModelProperty("高级查询之根据名字查询")
    private String keywords;

    @ApiModelProperty("状态")
    private Integer state = 1;


    public DepartmentQuery(String keywords) {
        this.keywords = keywords;
    }
}
